package com.lanxin.oa.personnel.service;

import com.lanxin.bean.JcBasicdatavalue;
import com.lanxin.bean.ZzDepartment;
import com.lanxin.bean.ZzEmployee;
import com.lanxin.util.PageBean;

import java.util.List;

public interface DeptService {

//    public List<ZzDepartment> listAllDept(ZzDepartment dept);

    public List<ZzDepartment> selectDeptService();

    public List<JcBasicdatavalue> selectJobs();

    public boolean selectByNameService(String deptName,Integer oid);

    public List<ZzDepartment> listDeptName();

    public ZzDepartment deptJob(Integer oid);

    public List<ZzEmployee> listEmpName(Integer deptid,Integer jobid);

    public void insertDept(ZzDepartment dept ,Integer[] jobsid);

    public ZzDepartment deptById(Integer oid);

    public void updateDept(ZzDepartment dept ,Integer[] jobsid);

    public boolean delete(ZzDepartment dept);

    public PageBean<ZzDepartment> getDeptPage(Integer page,Integer pageSize,ZzDepartment dept);
}
